<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>  
 
        <record id="warning_schedule_form" model="ir.ui.view">
            <field name="name">warning.schedule.form</field>
            <field name="model">warning.schedule</field>
            <field name="arch" type="xml">
                <form string="Warning Schedule">
				<sheet>
                    <div class="oe_title">
                        <h1>
                            <label string="Warning Schedule"/>
                        </h1>
                    </div>
                    	<group>
                    		<group>
                    			<field name="warning"/>
                    			<field name="date_warning"/>
                    		</group>
                    	</group>
				</sheet>
                </form>
            </field>
        </record>
        
       <record id="warning_schedule_search" model="ir.ui.view">
            <field name="name">warning.schedule.search</field>
            <field name="model">warning.schedule</field>
            <field name="arch" type="xml">
                <search string="Search Warning Schedule">
                    <field name="warning"/>
                </search>
            </field>
        </record>
 
        <record id="warning_schedule_tree" model="ir.ui.view">
            <field name="name">warning.schedule.tree</field>
            <field name="model">warning.schedule</field>
            <field name="arch" type="xml">
                <tree string="Warning Schedule">
                    <field name="warning"/>
                    <field name="date_warning"/>
                </tree>
            </field>
        </record>

		<record id="warning_schedule_action" model="ir.actions.act_window">
            <field name="name">Warning Schedule</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">warning.schedule</field>
            <field name="view_mode">tree,form</field>
            <field name="search_view_id" ref="warning_schedule_search"/>
            <field name="help" type="html">
              <p class="oe_view_nocontent_create">
                Click to create a new warning schedule entries.
              </p>
            </field>
        </record>
        
		<menuitem action="warning_schedule_action" id="menu_warning_schedule"
            parent="menu_tools"
            sequence="18"/>  
    </data>
</openerp>
